package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.GoodsInfo;
import com.ktjiaoyu.entity.SysUser;
import com.ktjiaoyu.utils.Page;

import java.util.List;

public interface GoodsInfoService {
    public List<GoodsInfo> findList(GoodsInfo goodsInfo);

    public Page<GoodsInfo> findPage(GoodsInfo entity, Integer pageNo, Integer pageSize)throws Exception;

    public boolean saveOrUpdate(GoodsInfo entity)throws Exception;

    public GoodsInfo findById(Long id) throws Exception;

    public int deleteById(Long id) throws Exception;

}
